#!/bin/bash

#(1)编译libsim库 
cd ./complib/libsim
make clean
make
cd -

#(2)编译libtsmp库，$1为TSN_FPGA或TSN_SIM
cd ./complib/libtsmp
make clean
make TYPE=$1
cd -

#(3)编译libtsninsight库
cd ./complib/libtsninsight
make clean
make
cd -

#(4)进入cjson目录进行编译
cd ./complib/cjson
make clean
make
cd -


#(5)编译multicast
make clean
make

